const { Controller } = require("uni-cloud-router");
module.exports = class OrderController extends Controller {
	add(){
		const { ctx, service } = this;
		return this.service.order.add();
	}
	list(){
		const { ctx, service } = this;
		return this.service.order.list();
	}
	getOne(){
		const { ctx, service } = this;
		return this.service.order.getOne();
	}
};